package com.macro.service.impl;

import com.macro.mapper.BasVoMapper;
import com.macro.service.BasVoService;
import com.macro.vo.BasVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 机构/店铺/订单/业务员
 * 业务接口实现类
 */
@Service
public class BasVoServiceImpl implements BasVoService {

    @Resource
    private BasVoMapper basVoMapper;

    /**
     * 多表连接查询(机构/店铺/订单/业务员)
     * @param orderid   订单编号
     * @return
     */
    @Override
    public BasVo findBasVoAll(String orderid) {
        return basVoMapper.selectBasVoAll(orderid);
    }
}
